App.config(['$stateProvider', '$urlRouterProvider', function ($stateProvider, $urlRouterProvider) {
    $urlRouterProvider.otherwise('start');
    $stateProvider
        .state('start', {
            url: '/start',
            templateUrl: './src/view/start.html'
        })
        .state('guide', {
            url:'/guide',
            templateUrl:'./src/view/guide.html'
        })
        .state('home', {
            url: '/home',
            templateUrl: './src/view/home.html'
        })
        .state('login', {
            url: '/login',
            templateUrl: './src/view/login.html'
        })
        .state('user', {
            url: '/user',
            templateUrl: './src/view/user.html'
        })
        .state('bookshelf', {
            url: '/bookshelf',
            templateUrl: './src/view/bookshelf.html'
        })
        .state('book_classify', {
            url: '/book_classify',
            templateUrl: './src/view/book_classify.html'
        })
        .state('book_fantasy', {
            url: '/book_fantasy',
            templateUrl: './src/view/book_fantasy.html'
        })
        .state('ranking_list', {
            url: '/ranking_list',
            templateUrl: './src/view/ranking_list.html'
        })
        .state('download', {
            url: '/download',
            templateUrl: './src/view/download.html'
        })
        .state('batchload', {
            url: '/batchload',
            templateUrl: './src/view/batchload.html'
        })
        .state('register', {
            url: '/register',
            templateUrl: './src/view/register.html'
        })
        .state('search', {
            url: '/search',
            templateUrl: './src/view/search.html'
        })
        .state('listen_details', {
            url: '/listen_details',
            templateUrl: './src/view/listen_details.html'
        })
        .state('listen_details1',{
            url:'/listen_details1',
            templateUrl:'./src/view/listen_details1.html'
        })
        .state('listen_details2',{
            url:'/listen_details2',
            templateUrl:'./src/view/listen_details2.html'
        })
}]);